/**这个类为一个公共类*/

import { AxiosResponse } from "axios"
import { SYSTEM_CONFIG } from "/@/config/system"
import service from "/@/utils/request"

/**
 * 获取菜单信息
 */
export function getMenu(): Promise<AxiosResponse<any>> {
    const params = { appId: SYSTEM_CONFIG.appId, format: 'json', allData: true }
    let url = "/rest/org/ManagerService/getMenu"
    return service.get(url, { params })
}